Skip to content

Conversation

@shahrukhkhan489
Copy link

Summary

Add comprehensive support for Kilo Code as a new AI assistant option in Spec Kit, enabling users to bootstrap spec-driven development projects with seamless Kilo Code integration.

Changes

New Features

  • CLI Support: Add kilocode option to --ai parameter with full validation
  • Dynamic Mode Generation: Implement generate_kilocode_modes_from_templates() function that converts existing command templates to Kilo Code's JSON format (.kilocodemodes file)
  • Cross-Platform Compatibility: Support both bash/zsh and PowerShell script variants
  • Template Integration: Automatic generation of custom modes for /specify, /plan, and /tasks commands

Technical Implementation

  • Core Logic: Added Kilo Code mode generation to the specify init workflow alongside existing AI assistant integrations (Claude, Gemini, Copilot, Cursor)
  • UI Updates: Enhanced help text and next steps instructions for Kilo Code users
  • Release Process: Include Kilo Code template variants (kilocode-sh and kilocode-ps) in GitHub release workflow
  • Documentation: Updated README with Kilo Code examples and prerequisites

Files Modified

  • src/specify_cli/__init__.py: Core implementation and UI updates
  • README.md: Documentation and CLI examples
  • .github/workflows/release.yml: Release process updates

Usage

Users can now initialize Spec Kit projects with Kilo Code support:

specify init my-project --ai kilocode

Add comprehensive support for Kilo Code as a new AI assistant option in Spec Kit.
This enables users to bootstrap spec-driven development projects with Kilo Code
integration, maintaining the same structured workflow as other AI assistants.

Changes:
- CLI: Add 'kilocode' option to --ai parameter with proper validation
- Core: Implement generate_kilocode_modes_from_templates() function that converts
  existing command templates to Kilo Code JSON format (.kilocodemodes file)
- Integration: Add Kilo Code mode generation to init workflow alongside existing
  AI assistant integrations (Cursor, etc.)
- UI: Update help text and next steps instructions for Kilo Code users
- Release: Include Kilo Code template variants (sh/ps) in GitHub release workflow
- Docs: Update README with Kilo Code examples and prerequisites

The implementation dynamically generates custom modes for /specify, /plan, and /tasks
commands with proper role definitions and custom instructions derived from existing
templates. Users can now run 'specify init --ai kilocode' to create projects with
full Kilo Code integration.

Files modified:
- src/specify_cli/__init__.py: Core implementation and UI updates
- README.md: Documentation and examples
- .github/workflows/release.yml: Release process updates

All changes maintain backward compatibility and follow existing patterns.
@adamhill
Copy link

Coolio! @shahrukhkhan489 thanks for doing this!

@michael-jennings
Copy link

@shahrukhkhan489 omg thank you thank you thank you. I spun for hours trying to get ChatGPT-5 to translate project notes into proper format for spec / plan and it just could not understand the assignment 😆 I got as far as potentially working mode conversions but after going at this for hours I thought maybe, if im super lucky, someone else who's not as much of a newbie to all this may have already bridged this gap, and to my gleeful delight, here it is. that will definitely save me another 12 hours of cognitive load lol

@shahrukhkhan489
Copy link
Author

Hold on...there are a couple of updates/corrections required in this pull request...am on it

@shahrukhkhan489
Copy link
Author

Raised #336 instead of this

@shahrukhkhan489
Copy link
Author

@localden Kindly review #336 and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants